package com.wfs.spring.service.impl;

import com.wfs.spring.anno.Test1Service;
import com.wfs.spring.service.TestService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;

@Component
@Test1Service
//@Scope(proxyMode = ScopedProxyMode.INTERFACES)
/*@Qualifier("test1")*/
//@Primary
public class Test1ServiceImpl implements TestService {
    @Override
    public void test() {
        System.out.println("111 test");
    }
}